package com.manager.user;
import java.util.List;
import com.bo.SearchFilter;
import com.bo.User;

public interface IUserManager {
	
	void start();
	
	void stop();
	
	void addUser(User user)throws Exception;
	
	void delete(User user)throws Exception;
	
	void update(User user)throws Exception;
	
	User findUserByName(String userName)throws Exception;
	
	User findUserById(int userId)throws Exception;
	
	List<User> getUserList();

	@SuppressWarnings("unchecked")
	List<User> findUsers (Class clazz,SearchFilter sf) throws Exception;
}
